package com.ly.honor.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName bs_goods_order
 */
@TableName(value ="bs_goods_order")
@Data
public class GoodsOrder implements Serializable {
    /**
     * 订单id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 订单号
     */
    @TableField(value = "order_number")
    private String orderNumber;

    /**
     * 商品id
     */
    @TableField(value = "goods_num")
    private Integer goodsNum;


    /**
     * 商品id
     */
    @TableField(value = "goods_id")
    private Integer goodsId;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Integer userId;

    /**
     * 收货人姓名
     */
    @TableField(value = "consignee_name")
    private String consigneeName;

    /**
     * 电话
     */
    @TableField(value = "telephone")
    private String telephone;

    /**
     * 地址
     */
    @TableField(value = "address")
    private String address;

    /**
     * 订单状态
     */
    @TableField(value = "order_status_id")
    private Integer orderStatusId;

    /**
     * 付款时间
     */
    @TableField(value = "payment_time")
    private Date paymentTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    /**
     * 删除标记
     */
    @TableField(value = "del_flag")
    @TableLogic
    private Integer delFlag;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}